<template>
  <div>
    <van-tabbar route>
      <van-tabbar-item to="/"><i slot="icon" class="iconfont icon-shouye"></i><span>首页</span></van-tabbar-item>
      <van-tabbar-item to="/special"><i slot="icon" class="iconfont icon-zhuantishenhedan-qishu"></i><span>专题</span></van-tabbar-item>
      <van-tabbar-item to="/category"><i slot="icon" class="iconfont icon-fenlei"></i><span>分类</span></van-tabbar-item>
      <van-tabbar-item to="/cart"><i slot="icon" class="iconfont icon-gouwuche"></i><span>购物车</span></van-tabbar-item>
      <van-tabbar-item to="/user"><i slot="icon" class="iconfont icon-wode-wodefensi"></i><span>我的</span></van-tabbar-item>
    </van-tabbar>
  </div>
</template>

<script>
export default {
  name: 'Tabbar',
  data () {
    return {}
  }
}
</script>

<style lang="less" scoped>
.van-tabbar{
  z-index: 10;
  .van-tabbar-item--active{
    color: #8b0000;
  }
}
</style>
